package com.hzncc.flowable_diboot.dto.invoicemanage;

import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * @Description :
 * @Date : 2025/2/12
 * @Author : ChenJin
 * @Version : v1.0.0
 **/
@Data
public class InvoiceFormDTO {

    private List<String> columns;

    /**
     * sap合同号
     */
    @Length(max=100, message="sap合同号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String sapContractCode;


    /**
     * 销售订单号
     */
    @Length(max=100, message="销售订单号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String sapOrderCode;

    /**
     * 合同号
     */
    @Length(max=100, message="合同号长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String contractCode;

    /**
     * 业务部门
     */
    @Length(max=100, message="业务部门长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String businessDept;

    /**
     * 合同签订单位
     */
    @Length(max=100, message="合同签订单位长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String recipientLabel;

    /**
     * 签约人
     */
    @Length(max=100, message="签约人单位长度应小于100")
    @BindQuery(comparison = Comparison.LIKE)
    private String signerLabel;
    
}
